//package pl.edu.pw.perg.compinfodb.manager;
//
//import java.util.List;
//
//import org.springframework.transaction.annotation.Propagation;
//import org.springframework.transaction.annotation.Transactional;
//
//import pl.edu.pw.perg.compinfodb.dao.IElementDAO;
//import pl.edu.pw.perg.compinfodb.entities.Element;
//import pl.edu.pw.perg.compinfodb.model.ITableData;
//
//public class ElementManager extends GenericManager<Element> implements
//	IElementManager  {
//
//	public static String ELEMENT_CATEGORY = "elementCategory";
//
//	@Transactional(readOnly = false, propagation = Propagation.REQUIRED)
//	public ITableData findById(Long elementId){
//		return ((IElementDAO) getGenericDAO()).findById(elementId);
//	}
//
//	@Transactional(readOnly = false, propagation = Propagation.REQUIRED)
//	public List<Element> findRoots(){
//		return ((IElementDAO) getGenericDAO()).findRoots();
//	}
//
//}
